package com.zjp.model.message;

import java.util.Date;

/**
 * 消息表
 * @author Administrator
 *
 */
public class Messageinfo {
	/**
	 * id
	 */
	private long id;
	/**
	 * 用户id
	 */
	private long userId;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 消息正文（目前仅涉及一些基本的库存不足提醒简要纯文本）
	 */
	private String context;
	/**
	 * 消息发送来源：1.系统；2.店铺
	 */
	private int source;
	/**
	 * 消息接收范围：1.店铺人员；2.买家；3.配送人员
	 */
	private int scope;
	/**
	 * 店铺表t_shop主键
	 */
	private long shopId;
	/**
	 * 创建时间
	 */
	private Date created;
	/**
	 * 修改时间
	 */
	private Date modifyd;
	/**
	 * 删除时间
	 */
	private Date deleted;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public int getSource() {
		return source;
	}
	public void setSource(int source) {
		this.source = source;
	}
	public int getScope() {
		return scope;
	}
	public void setScope(int scope) {
		this.scope = scope;
	}
	public long getShopId() {
		return shopId;
	}
	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModifyd() {
		return modifyd;
	}
	public void setModifyd(Date modifyd) {
		this.modifyd = modifyd;
	}
	public Date getDeleted() {
		return deleted;
	}
	public void setDeleted(Date deleted) {
		this.deleted = deleted;
	}
	public Messageinfo(long id, long userId, String title, String context,
			int source, int scope, long shopId, Date created, Date modifyd,
			Date deleted) {
		super();
		this.id = id;
		this.userId = userId;
		this.title = title;
		this.context = context;
		this.source = source;
		this.scope = scope;
		this.shopId = shopId;
		this.created = created;
		this.modifyd = modifyd;
		this.deleted = deleted;
	}
	public Messageinfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	

}
